package org.example.studentsystem_back.service;

import org.example.studentsystem_back.common.CommonResponse;
import org.example.studentsystem_back.domain.Dorm;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.studentsystem_back.vo.dormMangeVo.DormVo;

/**
* @author 马鑫
* @description 针对表【dorm】的数据库操作Service
* @createDate 2024-07-12 10:51:55
*/
public interface DormService extends IService<Dorm> {
    CommonResponse<DormVo> findAll(int page, int limit, String name, int id);
    CommonResponse<Dorm> add(Dorm dorm);
    CommonResponse<Dorm> update(Dorm dorm);
    CommonResponse<Dorm> delete(Dorm dorm);
}
